﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using University.Workshop.Model;
using University.Workshop.Business;

namespace University.Workshop.Presenters.PatientFolder
{
    public class PresenterSearchPatient
    {
        ISearchPatient view;

        public PresenterSearchPatient(ISearchPatient view)
        {
            this.view = view;
        }

        public ICollection<Patient> SearchPatient()
        {
            return PatientManager.SearchPatient(view.FatherLastName);
        }
    }
}
